#ifndef __APP_MAIN_WINDOW_INCLUDE__
#define __APP_MAIN_WINDOW_INCLUDE__
#include <QDialog>
#include "frmmain.h"
#include "IPC_Manager.h"
#include "RadarIPC_Com_Thread.h"

class CaptureIMGWidget;

class IPCMainWindow :public QWidget {
	Q_OBJECT
public:
	IPCMainWindow(QWidget* parent= NULL);
	virtual ~IPCMainWindow();


	public slots:
	void onCaptureIMGSuccess(QString imgPath);

protected:
	QPoint getHintInfoWidgetPos(CaptureIMGWidget* widget);
	void resizeEvent(QResizeEvent *event);
    void closeEvent(QCloseEvent *event);

private slots:
	void slotClickedBtn();
private:
	QSplitter *splitter;
	QPushButton *pushButton;
	frmMain* VideoFrame;
	QWidget* listFrame;
	QIcon leftIcon;
	QIcon rightIcon;

	IPCManager* ipc_mgr;
	RadarIPC_Com_Thread* radar_ipc_com;
};

#endif